@if (this.TrimHelper.TrimType == BaseObjectTypes.Record) {
<script src="~/scripts/filterMenu.js" type="text/javascript"></script>
<script>
addSearchFilterMenu([
            {
                Label: "Document",
                Clause: 'recType',
                Query: "2"
            },
            {
                Label: "Word Document",
                Clause: 'recExtension',
                Query: "docx,doc"
            },
            {
                Label: "PDF",
                Clause: 'recExtension',
                Query: "pdf"
            },
            {
                Label: "TIF",
                Clause: 'recExtension',
                Query: "tif"
            },
            {
                Label: "Container",
                Clause: 'recType',
                Query: "[rtyBehaviour:folder]"
            },
            {
                Label: "Box",
                Clause: 'recType',
                Query: "[rtyBehaviour:series]"
            }
]);
</script>
}